-
-
Notifications
You must be signed in to change notification settings - Fork 18k
python3Packages.trustme: skip disallowed w+x test on aarch64-darwin #115226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/rebase staging |
516fd74 to
de3605b
Compare
|
Rebased, please reopen the pull request to restart CI |
|
Git is broken on staging so I can't test this change. |
|
Staging should be good now. It would be nice to merge this. |
|
Is this only a test failure, or does the underlying pyOpenSSL issue make this package non-functional? |
|
Some parts of pyOpenSSL are indeed broken: pyca/pyopenssl#873. I don't think that the entirety of it is broken, since there are basic functions in there that don't require callbacks. |
|
Rebased, hopefully this can be merged now. |
As indicated in NixOS#175875, `pyopenssl` does not support aarch64-darwin. In NixOS#115226, the only test that required `pyopenssl` was disabled on `aarch64-darwin` — but unfortunately the package doesn’t build. This commit makes two changes. 1. The `pyopenssl` dependency is no longer pulled in on `aarch64-darwin`. The derivation is no longer marked broken. 2. The test suite is patched so that `OpenSSL.SSL` is no longer imported; this was only used by the disabled test. As a result the test suite runs (and succeeds).
As indicated in NixOS#175875, `pyopenssl` does not support aarch64-darwin. In NixOS#115226, the only test that required `pyopenssl` was disabled on `aarch64-darwin` — but unfortunately the package doesn’t build. This commit makes two changes. 1. The `pyopenssl` dependency is no longer pulled in on `aarch64-darwin`. The derivation is no longer marked broken. 2. The test suite is patched so that `OpenSSL.SSL` is no longer imported; this was only used by the disabled test. As a result the test suite runs (and succeeds).
Motivation for this change
Another one to help #105026.
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)